.class public Lcom/instagram/android/feed/comments/c/e;
.super Lcom/instagram/android/d/j/b;
.source "PostCommentRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/j/b",
        "<",
        "Ljava/lang/Void;",
        ">;"
    }
.end annotation


# instance fields
.field private a:Lcom/instagram/j/b;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/d/j/a;)V
    .locals 1
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Landroid/support/v4/app/aj;",
            "Lcom/instagram/android/d/j/a",
            "<",
            "Ljava/lang/Void;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 28
    invoke-static {}, Lcom/instagram/android/util/w;->a()I

    move-result v0

    invoke-direct {p0, p1, p2, v0, p3}, Lcom/instagram/android/d/j/b;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;ILcom/instagram/android/d/j/a;)V

    .line 29
    return-void
.end method


# virtual methods
.method public a()Lcom/instagram/android/d/b/a;
    .locals 1

    .prologue
    .line 43
    sget-object v0, Lcom/instagram/android/d/b/a;->a:Lcom/instagram/android/d/b/a;

    return-object v0
.end method

.method protected a(Lcom/instagram/android/d/b/c;)V
    .locals 2
    .parameter

    .prologue
    .line 53
    const-string v0, "comment_text"

    iget-object v1, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    invoke-virtual {v1}, Lcom/instagram/j/b;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 54
    return-void
.end method

.method public a(Lcom/instagram/j/b;)V
    .locals 0
    .parameter

    .prologue
    .line 37
    iput-object p1, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    .line 38
    invoke-virtual {p0}, Lcom/instagram/android/feed/comments/c/e;->g()V

    .line 39
    return-void
.end method

.method public a_(Lcom/instagram/android/d/j/j;)Z
    .locals 1
    .parameter

    .prologue
    .line 97
    const/4 v0, 0x0

    return v0
.end method

.method public synthetic b(Lcom/instagram/android/d/j/j;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 20
    invoke-virtual {p0, p1}, Lcom/instagram/android/feed/comments/c/e;->d(Lcom/instagram/android/d/j/j;)Ljava/lang/Void;

    move-result-object v0

    return-object v0
.end method

.method public c(Lcom/instagram/android/d/j/j;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Ljava/lang/Void;",
            ">;)V"
        }
    .end annotation

    .prologue
    const/4 v1, 0x0

    const/4 v0, 0x0

    .line 81
    .line 84
    if-eqz p1, :cond_1

    invoke-virtual {p1}, Lcom/instagram/android/d/j/j;->l()Lcom/fasterxml/jackson/databind/JsonNode;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 85
    invoke-virtual {p1}, Lcom/instagram/android/d/j/j;->l()Lcom/fasterxml/jackson/databind/JsonNode;

    move-result-object v2

    const-string v3, "spam"

    invoke-virtual {v2, v3}, Lcom/fasterxml/jackson/databind/JsonNode;->get(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/JsonNode;

    move-result-object v2

    .line 86
    if-eqz v2, :cond_0

    invoke-virtual {v2}, Lcom/fasterxml/jackson/databind/JsonNode;->asBoolean()Z

    move-result v2

    if-eqz v2, :cond_0

    const/4 v0, 0x1

    .line 87
    :cond_0
    invoke-virtual {p1}, Lcom/instagram/android/d/j/j;->l()Lcom/fasterxml/jackson/databind/JsonNode;

    move-result-object v2

    const-string v3, "message"

    invoke-virtual {v2, v3}, Lcom/fasterxml/jackson/databind/JsonNode;->get(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/JsonNode;

    move-result-object v2

    .line 88
    if-eqz v2, :cond_1

    invoke-virtual {v2}, Lcom/fasterxml/jackson/databind/JsonNode;->asText()Ljava/lang/String;

    move-result-object v1

    .line 91
    :cond_1
    iget-object v2, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    invoke-virtual {v2, v0, v1}, Lcom/instagram/j/b;->a(ZLjava/lang/String;)V

    .line 92
    iget-object v0, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    invoke-virtual {v0}, Lcom/instagram/j/b;->l()Lcom/instagram/j/l;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/feed/comments/c/e;->p()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/j/l;->b(Landroid/content/Context;)V

    .line 93
    return-void
.end method

.method public d(Lcom/instagram/android/d/j/j;)Ljava/lang/Void;
    .locals 5
    .parameter

    .prologue
    const/4 v4, 0x0

    .line 58
    iget-object v0, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    invoke-virtual {v0}, Lcom/instagram/j/b;->g()Lcom/instagram/j/d;

    move-result-object v0

    .line 60
    invoke-virtual {p1}, Lcom/instagram/android/d/j/j;->l()Lcom/fasterxml/jackson/databind/JsonNode;

    move-result-object v1

    const-string v2, "comment"

    invoke-virtual {v1, v2}, Lcom/fasterxml/jackson/databind/JsonNode;->get(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/JsonNode;

    move-result-object v1

    .line 61
    iget-object v2, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    invoke-virtual {v2, v1}, Lcom/instagram/j/b;->a(Lcom/fasterxml/jackson/databind/JsonNode;)V

    .line 63
    sget-object v1, Lcom/instagram/j/d;->e:Lcom/instagram/j/d;

    if-ne v0, v1, :cond_0

    .line 65
    invoke-virtual {p0}, Lcom/instagram/android/feed/comments/c/e;->p()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/feed/comments/c/e;->o()Landroid/support/v4/app/aj;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    sget-object v3, Lcom/instagram/android/feed/comments/c/b;->a:Lcom/instagram/android/feed/comments/c/b;

    invoke-static {v0, v1, v2, v3, v4}, Lcom/instagram/android/feed/comments/b/c;->a(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/j/b;Lcom/instagram/android/feed/comments/c/b;Lcom/instagram/android/d/j/a;)V

    .line 76
    :goto_0
    return-object v4

    .line 73
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    invoke-virtual {v0}, Lcom/instagram/j/b;->l()Lcom/instagram/j/l;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/feed/comments/c/e;->p()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/j/l;->a(Landroid/content/Context;)V

    goto :goto_0
.end method

.method public d()Z
    .locals 1

    .prologue
    .line 48
    const/4 v0, 0x1

    return v0
.end method

.method protected f()Ljava/lang/String;
    .locals 4

    .prologue
    .line 33
    const-string v0, "media/%s/comment/"

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/instagram/android/feed/comments/c/e;->a:Lcom/instagram/j/b;

    invoke-virtual {v3}, Lcom/instagram/j/b;->c()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
